Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify all NVIC circuits for a single web-proof circuit #23

Closed
wants to merge 11 commits into from

Conversation

0xJepsen
Copy link
Contributor

@0xJepsen 0xJepsen commented Nov 1, 2024

All circuits are accounted for. I added one missing test: test/http/locker.test.ts. There are some tests that have been omitted because they rely on codegen. The tests and diffs not accounted for are here:

The circuits/utils/array.circom and circuits/utils/bytes.circom utils are not missing anything but but do have some additional utilities that i added when i added the aes stuff.

Moving forward i will

  • end-to-end test for all our circuits folding together following the order: AES -> HTTP Parse -> http lock header -> http body mask -> json parse -> json_mask_object/json_mask_array -> extract value

Closes #19

@0xJepsen
Copy link
Contributor Author

0xJepsen commented Nov 1, 2024

Taking a lunch break now but good progress so far on this.

@0xJepsen 0xJepsen changed the title added test/http/locker.test.ts Unify all NVIC circuits for a single web-proof circuit Nov 1, 2024
@Autoparallel
Copy link
Contributor

Create main circuit that wires all our circuits together following the order: AES -> HTTP Parse -> http lock header -> http body mask -> json parse -> json_mask_object/json_mask_array -> extract value

This doesn't make sense, we can't do this. We need to have separate circuits to fold!

Happy to meet and explain this more if need be.

@Autoparallel
Copy link
Contributor

Autoparallel commented Nov 1, 2024

Just FYI, this has a regression in circuit constraints.

I was seeing roughly 1.2M constraints for AESGCTR for 320 bytes of plaintext.

I have addressed this on a separate branch.

@Autoparallel
Copy link
Contributor

Closing in favor of #24

@lonerapier lonerapier deleted the latest_parser_commit branch December 12, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create NIVC implementation with aes-proof + parser-attestor circuits
2 participants